package cn.com.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.User;
import cn.com.api.mapper.UserMapper;
import cn.com.api.service.UserService;

@Service
public class UserServiceImpl implements UserService {
	@Autowired
	private UserMapper userMapper;

	@Override
	public User findByUseridAndPwd(String userid, String password) {
		return userMapper.findByUseridAndPwd(userid, password);
	}
}
